<%@ Control Language="C#" AutoEventWireup="true" CodeFile="tm_TopNewList.ascx.cs" Inherits="tm_TopNewList" %>
<asp:GridView Width="100%" ID="gvTopNewList" runat="server" AutoGenerateColumns="False" CellPadding="4"
    ForeColor="#333333" GridLines="None" ShowHeader="False" DataSourceID="dsTopNewList">
    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" Width="100%" />
    <Columns>
        <asp:BoundField DataField="infoId" HeaderText="newsId" Visible="False" />
        <asp:TemplateField HeaderText="subject">
            <ItemTemplate>
                <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl = '<%# getURL(DataBinder.Eval(Container.DataItem, "infoId").ToString()) %>'><%# DataBinder.Eval(Container.DataItem, "description").ToString()%></asp:HyperLink>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <RowStyle BackColor="#EFF3FB" />
    <EditRowStyle BackColor="#2461BF" />
    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <AlternatingRowStyle BackColor="White" />
</asp:GridView>
<asp:SqlDataSource ID="dsTopNewList" runat="server"></asp:SqlDataSource>
<asp:Label ID="lblNewsType" runat="server" Visible="False"></asp:Label>
